#ifndef __KEY_H__
#define	__KEY_H__
#include "config.h"

#define KEY1	P51
#define KEY2	P52
#define KEY3	P53
#define KEY4	P54

void keys_init();

void keys_scan();

extern void on_key_up(u8 key);
extern void on_key_down(u8 key);
#endif